﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.OA.WorkflowActive.WorkflowActivityStepCompleteChecking
{
	/// <summary>
	/// 工作流活动步骤完成检查
	/// </summary>
	public class WorkflowActivityStepCompleteCheckingRequestDto
	{
		/// <summary>
		/// 工作流活动步骤Id
		/// </summary>		
		[Display(Name = "工作流活动步骤Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long WorkflowActivityStepId { get; set; }
		/// <summary>
		/// 操作名称
		/// </summary>		
		[Display(Name = "操作名称")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(200, MinimumLength = 2, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string OpertionName { get; set; }
		/// <summary>
		/// 操作类型
		/// </summary>		
		[Display(Name = "操作类型")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(50, MinimumLength = 2, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string OpertionType { get; set; }
		/// <summary>
		/// 表单配置Code
		/// </summary>		
		[Display(Name = "表单配置Code")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(100, MinimumLength = 2, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string FormConfigCode { get; set; }
		/// <summary>
		/// 允许忽略
		/// </summary>		
		[Display(Name = "允许忽略")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public bool AllowIgnore { get; set; }
	}
}

